package com.cy.server.mapper;

import com.cy.server.dto.EmployeeDto;
import com.cy.server.pojo.Employee;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LiShaoZhuo
 * @since 2021-04-26
 */
public interface EmployeeMapper extends BaseMapper<Employee> {

    /**
     * @Description: 员工信息分页
     * @Param:
     * @return:
     * @Author: LiShaoZhuo
     * @Date: 2021/5/6
     */
    List<Employee> selectEmployee(EmployeeDto employeeDto);

    /**
     * @Description: 查询员工
     * @Param:
     * @return:
     * @Author: LiShaoZhuo
     * @Date: 2021/5/7
     */
    List<Employee> getEmployee(Integer id);

    /**
     * @Description: 查询员工账套
     * @Param:
     * @return:
     * @Author: LiShaoZhuo
     * @Date: 2021/5/10
     */
    List<Employee> selectEmployeeWithSalary(EmployeeDto employeeDto);
}
